package top.goldenyear.porpoise.framework.web.core.generator.dialect.impl;

import cn.hutool.v7.core.text.StrUtil;

/**
 * @author airhead
 */
public class MySqlDialect extends BaseJdbcDialect {
  @Override
  String forBuildColumnsSql(String schema, String tableName) {
    return "SELECT * FROM `"
        + (StrUtil.isNotBlank(schema) ? schema + "`.`" : "")
        + tableName
        + "` WHERE 1 = 2";
  }
}
